package com.tai.design.responsibility;

/**
 * The type Leave request.
 *
 * @version v1.0
 * @ClassName: LeaveRequest
 * @Description: 请假条类
 * @Author: taylor
 */
public class LeaveRequest {
    //姓名
    private String name;

    //请假天数
    private int num;

    //请假内容
    private String content;

    /**
     * Instantiates a new Leave request.
     *
     * @param name    the name
     * @param num     the num
     * @param content the content
     */
    public LeaveRequest(String name, int num, String content) {
        this.name = name;
        this.num = num;
        this.content = content;
    }

    /**
     * Gets name.
     *
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * Gets num.
     *
     * @return the num
     */
    public int getNum() {
        return num;
    }

    /**
     * Gets content.
     *
     * @return the content
     */
    public String getContent() {
        return content;
    }
}
